﻿function showHideDIV() {
    /* Commanded by 'Imran Gani' on 22-Nov-12, to use Jquery.
    if (document.getElementById("div_advanced").style.display == "block")
    {
    document.getElementById("div_advanced").style.display = "none";
    document.getElementById("img_advanced").src = "Images/expand3.gif";            
    }
    else
    {
    document.getElementById("div_advanced").style.display = "block";
    document.getElementById("img_advanced").src = "Images/collapse3.gif";
    }*/
    if ($("#div_advanced").is(":hidden")) // Added by 'Imran Gani' on 22-Nov-12, to use Jquery.
    {
        $("#img_advanced").attr("title", "Click to collapse");
        $("#div_advanced").slideDown();
        $("#img_advanced").attr("src", "Images/collapse3.gif");
    }
    else {
        $("#img_advanced").attr("title", "Click to expand");
        $("#div_advanced").slideUp();
        $("#img_advanced").attr("src", "Images/expand3.gif");
    }
}
function showLoad(arg) {
    try {
        Page_ClientValidate('');
        if (Page_IsValid == false) return;
        if (arg == true)
            document.getElementById("ctl00_ContentPlaceHolder3_lblStatusUpload").innerHTML = "&nbsp;<img src='Images/load.gif' border='0'></img>&nbsp;Uploading File...";
        else
            document.getElementById("ctl00_ContentPlaceHolder3_lblStatusUpload").innerHTML = "&nbsp;<img src='Images/load.gif' border='0'></img>&nbsp;Updating document data...";
    }
    catch (Ex) { }
}



